package com.etone.smartAudit.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: 蒋学伟
 * @date: 2018-10-11 23:30:20
 * @description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName(value = "d_admin_log")
public class AdminLog implements Serializable {

    @TableId(type = IdType.AUTO, value = "intId")
    private Integer id;

    /**
     * 用户id
     */
    @TableField(value = "intAdminId")
    private Integer adminId;

    /**
     * 用户所属公司
     */
    @TableField(value = "vcAdminCompanyName")
    private String adminCompanyName;

    /**
     * 用户账号
     */
    @TableField(value = "vcAdminUsername")
    private String adminUsername;

    /**
     * 用户名称
     */
    @TableField(value = "vcAdminNickName")
    private String adminNickName;

    /**
     * 操作板块
     */
    @TableField(value = "vcModule")
    private String module;

    /**
     * 操作内容
     */
    @TableField(value = "vcContent")
    private String content;

    /**
     * 服务器名称
     */
    @TableField(value = "vcServerName")
    private String serverName;

    /**
     * 操作事项
     */
    @TableField(value = "vcItem")
    private String item;

    /**
     * 操作时间
     */
    @TableField(value = "dtCreateTime")
    private Date createTime;
}